/*******************************************************************************
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Jean Neveux - initial API and implementation
 *******************************************************************************/
package org.dynamo.database.ui.wizzard;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;

/**
 * Manage icons
 * @author J.Neveux
 *
 */
public class DTUImage {

	public static final ImageDescriptor IMG_DATABASE = getDescriptor("icons/database.gif");
	public static final ImageDescriptor IMG_RUN_EXC = getDescriptor("icons/run_exc.gif");
	public static final ImageDescriptor IMG_PAGE_OBJ = getDescriptor("icons/page_obj.gif");
	public static final ImageDescriptor IMG_SCHEMA = getDescriptor("icons/schema.gif");
	public static final ImageDescriptor IMG_FOLDER = getDescriptor("icons/fldr_obj.gif");
	public static final ImageDescriptor IMG_PROFILE = getDescriptor("icons/profile.gif");
	public static final ImageDescriptor IMG_LIBRARY = getDescriptor("icons/library.gif");
	public static final ImageDescriptor IMG_MAPPING_TYPE = getDescriptor("icons/mapping.gif");
	public static final ImageDescriptor IMG_MAPPING_STEREOTYPE = getDescriptor("icons/stereotype.gif");
	public static final ImageDescriptor IMG_DTU = getDescriptor("icons/dtu.gif");

	private static ImageDescriptor getDescriptor(String path) {
		return AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, path);
	}

}
